<div class="content">
	<?php
	$tools[] = n_href(n_url("member","edit"),"我的信息");
	$tools[] = n_href(n_url("passport","bindMphoneEdit"),"绑定手机");
	echo n_mod('skin')->pageHead("邮箱绑定",$tools)
	?>

	<div class="n-sep">
	<form method="post" action="<?=n_url('passport','bindEmailSave')?>">
	<dl class="n-form">


		<dt>邮箱:</dt>
		<dd>
			<?php
			if(empty($data['email'])){
			?>
			<input type="text" name="email" value="<?=empty($data['email'])?'':$data['email']?>" />			
			<?php
			}else{
			?>
			<?=$data['email']?>
			<?=n_ui(n_url('passport','unbindEmail'),"解绑")?>
			<?php
			}
			?>
		</dd>
		<?php
		if(empty($data['email'])){
		?>
		<dt>&nbsp;</dt>
		<dd>
			<input type="submit" />
		</dd>
		<?php
		}
		?>
	</dl>
	</form>
	</div>
</div>	
